package com.xunqi.mall.service;

import com.xunqi.mall.form.UserLoginForm;
import com.xunqi.mall.form.UserRegisterForm;
import com.xunqi.mall.vo.ResponseVo;
import com.xunqi.mall.vo.UserLoginVo;

/**
 * @Description:
 * @Created with IntelliJ IDEA.
 * @author: 夏沫止水
 * @create: 2020-04-23 16:58
 **/
public interface UserService {

    /**
     * 用户登录
     * @param form
     * @return
     */
    ResponseVo<UserLoginVo> login(UserLoginForm form);


    /**
     * 用户注册
     * @param form
     * @return
     */
    ResponseVo register(UserRegisterForm form);


    /**
     * 获取用户登录信息
     * @param uid
     * @return
     */
    ResponseVo<UserLoginVo> users(Integer uid);

}
